package com.hxzy.user.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mingqian.Wu
 * @since 2023-06-23
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@ApiModel(value="TmUser对象", description="")
public class TmUser implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "用户编号")
      @TableId
        private String userId;

      @ApiModelProperty(value = "注册手机号")
      private String userPhone;

      @ApiModelProperty(value = "密码")
      private String userPwd;

      @ApiModelProperty(value = "用户类型")
      private Integer userType;

      @ApiModelProperty(value = "姓名")
      private String userName;

      @ApiModelProperty(value = "实名认证状态")
      private Integer userCertification;

      @ApiModelProperty(value = "车主认证")
      private Integer carOwner;

      @ApiModelProperty(value = "司机认证")
      private Integer driver;

      @ApiModelProperty(value = "货主认证")
      private Integer cargoOwner;

      @ApiModelProperty(value = "账户状态")
      private Integer accountStatus;

      @ApiModelProperty(value = "创建时间")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      private Date createTime;

      @ApiModelProperty(value = "修改时间")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      private Date modifyTime;

      @ApiModelProperty(value = "最后登录时间")
      @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
      private Date lastLoginTime;


}
